package com.kyzh.core.adapters

import android.view.View
import com.gushenge.core.beans.Slide
import com.zhpan.bannerview.BaseViewHolder

//弃用   插件升级了
class BannerViewHolder(itemView:View):BaseViewHolder<Slide>(itemView) {
    override fun bindData(data: Slide, position: Int, pageSize: Int) {

//        val bg: RoundedImageView = findView(R.id.image)
//        val icon: ImageView = findView(R.id.ivGameIcon)
//        val name: TextView = findView(R.id.tvGameName)
//        val type: TextView = findView(R.id.tvGameType)
//        val tvDetail: TextView = findView(R.id.tvDetail)
//        val bq: RecyclerView = findView(R.id.bq)
//        bg.loadImage(data.image)
//        icon.loadImage(data.icon)
//        name.text = data.game_name
//        tvDetail.text = data.name
//        type.text = "${data.point}  ${data.type}"
//        bq.layoutManager = LinearLayoutManager(itemView.context, RecyclerView.HORIZONTAL, false)
//        bq.adapter = BqSoildAdapter(R.layout.bq_item, data.biaoqian)


    }
}